﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PI_CS_Tools
{
    public static class RandomNumber
    {
        static Random random;
        static int _minValue;
        static int _maxValue;

        static RandomNumber()
        {
            _minValue = 0;
            _maxValue = int.MaxValue;
            random = new Random();
        }
         
        public static int Get
        {
           get { return random.Next(_minValue, _maxValue); } 
        }

    }
}
